package com.lqe.pojo;

import lombok.*;

import java.util.List;

@Data
@AllArgsConstructor
@EqualsAndHashCode
@NoArgsConstructor
@ToString
@Setter
@Getter
public class User {
    private Integer userId;

    public User(Integer userId, String username, Integer age) {
        this.userId = userId;
        this.username = username;
        this.age = age;
    }

    private String username;
    private Integer age;
    List<Order> orderList;
    //private List<Role> roleList;

}
